package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Attendance extends BaseDomain {
    //上班打卡日期
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    //打卡员工姓名
    private String employeename;
    //该员工所属的部门
    private String deptname;
    //打卡时间
    private String timein;
    //下班时间
    private String timeout;

    private Boolean state;


}